//
// this 谁调用，指向谁

var length = 10;
function test(){
  console.log(this.length);
}
var obj = {
  length: 100,
  action: test
}

obj.action(test); // 100  调用者是obj